package main.main;

import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.widget.Toast;
import android.view.MotionEvent;
import android.view.View;

public class BrickBreakerActivity extends Activity implements View.OnClickListener{
    /** Called when the activity is first created. */
	Context cxt;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        cxt=this;
        findViewById(R.id.button1).setOnClickListener(this); 
        Toast.makeText(this, "Tap anywhere to begin!", Toast.LENGTH_LONG).show();
    }
    
	public void onClick(View v) {
		// TODO Auto-generated method stub
		setContentView(new DrawView(cxt));
	}

	public boolean onTouch(View arg0, MotionEvent arg1) {
		// TODO Auto-generated method stub
		return false;
	}
}